Profile    Mohammed Shiroz Status   Loading  
Logo
Share This

My policies
blog and Updates

It's my personal blog and my post about what was my interested in. Not regularly. If you have any questions any discussion, I'm happy you get in touch with me, and try to answer as many as possible!

Blog
Let's See
Back to blog
Filter by:
Tags
//Article

Laravel Policies and Gates: Authorization Done Properly

Laravel Policies and Gates: Authorization Done Properly

Blog Summary

Copy-pasted if-checks are how authorization bugs are born. Here's how to move every rule into Laravel policies and gates, avoid the before() trap, filter lists properly and test who gets denied.

Read more
  • 124
  • 57
  • 20

01. About Shiroz

Mohammed Shiroz

Hi, I'm Mohammed Shiroz, a software engineer and AI enthusiast from Sri Lanka who turns ideas into intelligent, real-world solutions. With over 9 years of hands-on experience, I currently lead real estate ERP development at Kate Group, a...

03.My Projects

04. Categories

Ready To Start Your Project ?

Get in Touch
Close